package com.caifu.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 个人史表_查房记录
 * </p>
 *
 * @author Lyf
 * @since 2020-11-19
 */
public class YlUserHistoryRecord extends Model<YlUserHistoryRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 老人编号
     */
    @TableField("USER_NO")
    private String userNo;

    /**
     * 学历
     */
    @TableField("EDUCATION")
    private String education;

    /**
     * 疫区疫水接触史 0：无 1：有
     */
    @TableField("IS_CONTACT")
    private String isContact;

    /**
     * 嗜烟 0：无 1：有
     */
    @TableField("IS_SMOKE")
    private String isSmoke;

    /**
     * 已抽年数
     */
    @TableField("SMOKE_YEAR")
    private Integer smokeYear;

    /**
     * 平均（支/日）
     */
    @TableField("SMOKE_COUNT")
    private Integer smokeCount;

    /**
     * 戒烟年数
     */
    @TableField("QUIT_SMOKE_YEAR")
    private Integer quitSmokeYear;

    /**
     * 嗜酒 0：无 1：有
     */
    @TableField("DRINK_WINE")
    private String drinkWine;

    /**
     * 饮酒数量(两/天)
     */
    @TableField("DRINK_COUNT")
    private BigDecimal drinkCount;

    /**
     * 特殊爱好：0:无 1：有
     */
    @TableField("SPECIAL_LIKE")
    private String specialLike;

    /**
     * 婚姻状况
     */
    @TableField("MARRIAGE")
    private String marriage;

    /**
     * 配偶1：健康 2：一般 3：差
     */
    @TableField("SPOUSE")
    private String spouse;

    /**
     * 夫妻关系 0：欠佳 1：和睦
     */
    @TableField("MARRIAGE_RELATIONSHIP")
    private String marriageRelationship;

    /**
     * 月经初潮(年龄）
     */
    @TableField("MENSTRUATION_START")
    private Integer menstruationStart;

    /**
     * 月经绝经(年龄）
     */
    @TableField("MENSTRUATION_END")
    private Integer menstruationEnd;

    /**
     * 子女数量
     */
    @TableField("CHILDREN_COUNT")
    private Integer childrenCount;

    /**
     * 子女关系0：欠佳 1：和睦
     */
    @TableField("CHILDREN_RELATIONSHIP")
    private String childrenRelationship;

    /**
     * 进食0：依赖 1：协助 2：自理 
     */
    @TableField("EAT_STATE")
    private String eatState;

    /**
     * 个人卫生0：依赖 1：协助 2：自理
     */
    @TableField("GYGIENE_STATE")
    private String gygieneState;

    /**
     * 行走 0：依赖 1：协助 2：自理
     */
    @TableField("RUN_STATE")
    private String runState;

    /**
     * 上下床 0：依赖 1：协助 2：自理
     */
    @TableField("IN_BED_STATE")
    private String inBedState;

    /**
     * 饮食 1：普食:2：半流:3：全流:4：特殊饮食
     */
    @TableField("EAT_FOOD")
    private String eatFood;

    /**
     * 食欲：1：正常:2：增加:3：减退:4：不思饮食
     */
    @TableField("APPETITE")
    private String appetite;

    /**
     * 其他
     */
    @TableField("EAT_OTHER")
    private String eatOther;

    /**
     * 排便 （多个用逗号隔开）1：正常2腹胀3：便秘
     */
    @TableField("DEFECATION")
    private String defecation;

    /**
     * 排便次数（次/日）
     */
    @TableField("DEFECATION_COUNT")
    private Integer defecationCount;

    /**
     * 排便其他
     */
    @TableField("DEFECATION_OTHER")
    private String defecationOther;

    /**
     * 排尿(多个用逗号隔开) 1：正常、2：潴留:3:失禁4:、尿频、5:尿急、6:尿痛
     */
    @TableField("MICTURITION")
    private String micturition;

    /**
     * 排尿其他
     */
    @TableField("MICTURITION_OTHER")
    private String micturitionOther;

    /**
     * 睡眠:0:失眠1：正常
     */
    @TableField("SLEEP_STATE")
    private String sleepState;

    /**
     * 睡眠时长
     */
    @TableField("SLEEP_COUNT")
    private BigDecimal sleepCount;

    /**
     * 午睡 0：无1：有
     */
    @TableField("NOON_SLEEP")
    private String noonSleep;

    /**
     * 家族遗传病史信息
     */
    @TableField("FAMILY_HISTORY_REMARK")
    private String familyHistoryRemark;

    /**
     * 家族史（遗传病史）
     */
    @TableField("FAMILY_HISTORY")
    private String familyHistory;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;

    /**
     * 睡眠辅助药物
     */
    @TableField("SLEEP_DRUG")
    private String sleepDrug;

    /**
     * 管理员编号
     */
    @TableField("TELLER_NO")
    private String tellerNo;

    /**
     * 儿子数量
     */
    @TableField("BOY_COUNT")
    private Integer boyCount;

    /**
     * 女儿数量
     */
    @TableField("GIRL_COUNT")
    private Integer girlCount;

    /**
     * 查房批次编号
     */
    @TableId(value = "batch_no", type = IdType.INPUT)
    private String batchNo;

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }
    public String getIsContact() {
        return isContact;
    }

    public void setIsContact(String isContact) {
        this.isContact = isContact;
    }
    public String getIsSmoke() {
        return isSmoke;
    }

    public void setIsSmoke(String isSmoke) {
        this.isSmoke = isSmoke;
    }
    public Integer getSmokeYear() {
        return smokeYear;
    }

    public void setSmokeYear(Integer smokeYear) {
        this.smokeYear = smokeYear;
    }
    public Integer getSmokeCount() {
        return smokeCount;
    }

    public void setSmokeCount(Integer smokeCount) {
        this.smokeCount = smokeCount;
    }
    public Integer getQuitSmokeYear() {
        return quitSmokeYear;
    }

    public void setQuitSmokeYear(Integer quitSmokeYear) {
        this.quitSmokeYear = quitSmokeYear;
    }
    public String getDrinkWine() {
        return drinkWine;
    }

    public void setDrinkWine(String drinkWine) {
        this.drinkWine = drinkWine;
    }
    public BigDecimal getDrinkCount() {
        return drinkCount;
    }

    public void setDrinkCount(BigDecimal drinkCount) {
        this.drinkCount = drinkCount;
    }
    public String getSpecialLike() {
        return specialLike;
    }

    public void setSpecialLike(String specialLike) {
        this.specialLike = specialLike;
    }
    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }
    public String getSpouse() {
        return spouse;
    }

    public void setSpouse(String spouse) {
        this.spouse = spouse;
    }
    public String getMarriageRelationship() {
        return marriageRelationship;
    }

    public void setMarriageRelationship(String marriageRelationship) {
        this.marriageRelationship = marriageRelationship;
    }
    public Integer getMenstruationStart() {
        return menstruationStart;
    }

    public void setMenstruationStart(Integer menstruationStart) {
        this.menstruationStart = menstruationStart;
    }
    public Integer getMenstruationEnd() {
        return menstruationEnd;
    }

    public void setMenstruationEnd(Integer menstruationEnd) {
        this.menstruationEnd = menstruationEnd;
    }
    public Integer getChildrenCount() {
        return childrenCount;
    }

    public void setChildrenCount(Integer childrenCount) {
        this.childrenCount = childrenCount;
    }
    public String getChildrenRelationship() {
        return childrenRelationship;
    }

    public void setChildrenRelationship(String childrenRelationship) {
        this.childrenRelationship = childrenRelationship;
    }
    public String getEatState() {
        return eatState;
    }

    public void setEatState(String eatState) {
        this.eatState = eatState;
    }
    public String getGygieneState() {
        return gygieneState;
    }

    public void setGygieneState(String gygieneState) {
        this.gygieneState = gygieneState;
    }
    public String getRunState() {
        return runState;
    }

    public void setRunState(String runState) {
        this.runState = runState;
    }
    public String getInBedState() {
        return inBedState;
    }

    public void setInBedState(String inBedState) {
        this.inBedState = inBedState;
    }
    public String getEatFood() {
        return eatFood;
    }

    public void setEatFood(String eatFood) {
        this.eatFood = eatFood;
    }
    public String getAppetite() {
        return appetite;
    }

    public void setAppetite(String appetite) {
        this.appetite = appetite;
    }
    public String getEatOther() {
        return eatOther;
    }

    public void setEatOther(String eatOther) {
        this.eatOther = eatOther;
    }
    public String getDefecation() {
        return defecation;
    }

    public void setDefecation(String defecation) {
        this.defecation = defecation;
    }
    public Integer getDefecationCount() {
        return defecationCount;
    }

    public void setDefecationCount(Integer defecationCount) {
        this.defecationCount = defecationCount;
    }
    public String getDefecationOther() {
        return defecationOther;
    }

    public void setDefecationOther(String defecationOther) {
        this.defecationOther = defecationOther;
    }
    public String getMicturition() {
        return micturition;
    }

    public void setMicturition(String micturition) {
        this.micturition = micturition;
    }
    public String getMicturitionOther() {
        return micturitionOther;
    }

    public void setMicturitionOther(String micturitionOther) {
        this.micturitionOther = micturitionOther;
    }
    public String getSleepState() {
        return sleepState;
    }

    public void setSleepState(String sleepState) {
        this.sleepState = sleepState;
    }
    public BigDecimal getSleepCount() {
        return sleepCount;
    }

    public void setSleepCount(BigDecimal sleepCount) {
        this.sleepCount = sleepCount;
    }
    public String getNoonSleep() {
        return noonSleep;
    }

    public void setNoonSleep(String noonSleep) {
        this.noonSleep = noonSleep;
    }
    public String getFamilyHistoryRemark() {
        return familyHistoryRemark;
    }

    public void setFamilyHistoryRemark(String familyHistoryRemark) {
        this.familyHistoryRemark = familyHistoryRemark;
    }
    public String getFamilyHistory() {
        return familyHistory;
    }

    public void setFamilyHistory(String familyHistory) {
        this.familyHistory = familyHistory;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getSleepDrug() {
        return sleepDrug;
    }

    public void setSleepDrug(String sleepDrug) {
        this.sleepDrug = sleepDrug;
    }
    public String getTellerNo() {
        return tellerNo;
    }

    public void setTellerNo(String tellerNo) {
        this.tellerNo = tellerNo;
    }
    public Integer getBoyCount() {
        return boyCount;
    }

    public void setBoyCount(Integer boyCount) {
        this.boyCount = boyCount;
    }
    public Integer getGirlCount() {
        return girlCount;
    }

    public void setGirlCount(Integer girlCount) {
        this.girlCount = girlCount;
    }
    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    @Override
    protected Serializable pkVal() {
        return this.batchNo;
    }

    @Override
    public String toString() {
        return "YlUserHistoryRecord{" +
        ", userNo=" + userNo +
        ", education=" + education +
        ", isContact=" + isContact +
        ", isSmoke=" + isSmoke +
        ", smokeYear=" + smokeYear +
        ", smokeCount=" + smokeCount +
        ", quitSmokeYear=" + quitSmokeYear +
        ", drinkWine=" + drinkWine +
        ", drinkCount=" + drinkCount +
        ", specialLike=" + specialLike +
        ", marriage=" + marriage +
        ", spouse=" + spouse +
        ", marriageRelationship=" + marriageRelationship +
        ", menstruationStart=" + menstruationStart +
        ", menstruationEnd=" + menstruationEnd +
        ", childrenCount=" + childrenCount +
        ", childrenRelationship=" + childrenRelationship +
        ", eatState=" + eatState +
        ", gygieneState=" + gygieneState +
        ", runState=" + runState +
        ", inBedState=" + inBedState +
        ", eatFood=" + eatFood +
        ", appetite=" + appetite +
        ", eatOther=" + eatOther +
        ", defecation=" + defecation +
        ", defecationCount=" + defecationCount +
        ", defecationOther=" + defecationOther +
        ", micturition=" + micturition +
        ", micturitionOther=" + micturitionOther +
        ", sleepState=" + sleepState +
        ", sleepCount=" + sleepCount +
        ", noonSleep=" + noonSleep +
        ", familyHistoryRemark=" + familyHistoryRemark +
        ", familyHistory=" + familyHistory +
        ", createTime=" + createTime +
        ", sleepDrug=" + sleepDrug +
        ", tellerNo=" + tellerNo +
        ", boyCount=" + boyCount +
        ", girlCount=" + girlCount +
        ", barchNo=" + batchNo +
        "}";
    }
}
